using System.Collections.Generic;
using Newtonsoft.Json;

namespace BingleMaps.Models.GoogleMaps
{
	public class Leg
	{
		[JsonProperty("distance")]
		public Distance Distance { get; set; }
		[JsonProperty("duration")]
		public Duration Duration { get; set; }
		[JsonProperty("end_address")]
		public string EndAddress { get; set; }
		[JsonProperty("end_location")]
		public Location EndLocation { get; set; }
		[JsonProperty("start_address")]
		public string StartAddress { get; set; }
		[JsonProperty("start_location")]
		public Location StartLocation { get; set; }
		[JsonProperty("steps")]
		public IEnumerable<Step> Steps { get; set; }
		[JsonProperty("via_waypoints")]
		public IEnumerable<Location> ViaWayPoints { get; set; }
	}
}